<!-- app模态框-->
<div class="modal fade" id="appModal" tabindex="-1" role="dialog" aria-labelledby="appModalLabel">
    <div class="modal-dialog modal-lg">
        <form action="">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="appModalLabel">选择应用</h4>
                </div>
                <div class="modal-body">
                    <div class="input-group col-sm-4">
                        <input type="text" class="form-control"  placeholder="请输入ID">
                    <span class="input-group-btn">
                      <input type="button" class="btn btn-default" value="搜索">
                    </span>
                    </div>
                    <table class="table table-striped table-hover">
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>Icon</th>
                            <th>名称</th>
                            <th>类型</th>
                            <th>类别</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td class="id">235680</td>
                            <td><img src="/images/sourse/app.png" alt=""></td>
                            <td>APP名称</td>
                            <td>影视</td>
                            <td>影视聚合</td>
                            <td><input class="btn btn-primary" type="button" value="确认关联"></td>
                        </tr>
                        <tr>
                            <td class="id">235680</td>
                            <td><img src="/images/sourse/app.png" alt=""></td>
                            <td>APP名称</td>
                            <td>影视</td>
                            <td>影视聚合</td>
                            <td><input class="btn btn-primary" type="button" value="确认关联"></td>
                        </tr>
                        <tr>
                            <td class="id">235</td>
                            <td><img src="/images/sourse/app.png" alt=""></td>
                            <td>APP名称</td>
                            <td>影视</td>
                            <td>影视聚合</td>
                            <td><input class="btn btn-primary" type="button" value="确认关联"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default">上一页</button>
                    <button type="button" class="btn btn-default">下一页</button>
                </div>
            </div>
        </form>
    </div>
</div>
<!-- 、、app模态框-->
<!-- 专题栏目模态框-->
<div class="modal fade" id="zhuantilanmuModal" tabindex="-1" role="dialog" aria-labelledby="zhuantilanmuModalLabel">
    <div class="modal-dialog modal-lg">
        <form action="">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="zhuantilanmuModalLabel">选择专题栏目</h4>
                </div>
                <div class="modal-body">
                    <div class="input-group col-sm-4">
                        <input type="text" class="form-control" placeholder="请输入ID">
                    <span class="input-group-btn">
                      <input type="button" class="btn btn-default" value="搜索">
                    </span>
                    </div>
                    <table class="table table-striped table-hover">
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>图片</th>
                            <th>名称</th>
                            <th>级别</th>
                            <th>上线时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td class="id">235680</td>
                            <td><img src="/images/sourse/app.png" alt=""></td>
                            <td>栏目名称</td>
                            <td>一级专题</td>
                            <td>2016/08/11</td>
                            <td><input class="btn btn-primary" type="button" value="确认关联"></td>
                        </tr>
                        <tr>
                            <td class="id">2350</td>
                            <td><img src="/images/sourse/app.png" alt=""></td>
                            <td>栏目名称</td>
                            <td>一级专题</td>
                            <td>2016/08/11</td>
                            <td><input class="btn btn-primary" type="button" value="确认关联"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default">上一页</button>
                    <button type="button" class="btn btn-default">下一页</button>
                </div>
            </div>
        </form>
    </div>
</div>
<!-- 、、专题栏目模态框-->
<script>
    function editInfo(obj) {
        var tid=$(obj).attr('tid');
        var aid=$(obj).attr('aid');
        $('#appModal .table').html(tid+'+++'+aid)
    }
    $('#appModal').on('show.bs.modal',function () {

    })
</script>